#ifndef	_HUAWEI_HANDLE_H
#define	_HUAWEI_HANDLE_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "jansson.h"
#include <stdint.h>
#include <sys/types.h>
#include <unistd.h>
#include <vector>

void huawei_process_json_work_file(const char *json_work_file, json_t **json_config);
off_t huawei_get_length(json_t *json_config);
void huawei_read_disk_data(std::vector<int>& fd_vector, char *buf, off_t offset, size_t rsize);

#endif